package lesson16Class;

public class EncapsulationDemo {

	public static void main(String[] args) {
		
		Person p1 = new Person("94584358345", "123");
		Person p2 = new Person("34345345345", "345");
		Person p3 = new Person("13123123122", "234");
		Person p4 = new Person("32323323222", "444");
		System.out.println(p1.courseName);
		System.out.println(Person.courseName);
		System.out.println(p3.courseName);
		Person.getPensionAge();
	}
}
